﻿using UnityEngine;
using System.Collections;

public class AutoDestroy : MonoBehaviour {
	public float coolDown;
	// Use this for initialization
	void Start () {
		//Delay para nao instanciar toda a vez que se faz o update.
		InvokeRepeating("Destroy",10.0f,10.0f);
	}
	
	// Update is called once per frame
	void Destroy () {
		Destroy(this.gameObject);
	}
}
